import { ActionTree, Module } from "vuex";
import { make } from "vuex-pathify";
import { AppState, IAppState } from "@/model/frame/AppState";
import { IState } from "@/vue-config/store/modules/index";

export default class App implements Module<IAppState, IState> {
  public namespaced = true;

  state: IAppState = new AppState();

  mutations = make.mutations(this.state);

  actions: ActionTree<IAppState, IState> = {
    ...make.actions(this.state)
  };

  getters = {};
}
